package com.atguigu.service;

import com.atguigu.entities.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lbstart
 * @create 2021-06-27 9:30
 */

public interface UserService {
    public int add(User user);
    public int del(Integer id);
    public int update(User user);


    public User getById(@Param("id") Integer id);

    public List<User> getByCondition(User user);

    public List<User> getSplitPage(User user);

    public List<User> getSplitPageExample(User user);
}
